package com.xz.realdemo.factory;

import com.xz.realdemo.util.Reader;

/**
 * @author 张志航     
 * @version V1.0.0
 * @projectName design_mode
 * @title     ReaderFactory   
 * @package    com.xz.realdemo.factory  
 * @date   2019/11/26 20:47  
 * @explain
 */
public abstract class ReaderFactory {

   public void readImage(){
        createReader().readImage();
    }

    public abstract Reader createReader();

}
